package com.wsl;


import com.wsl.config.ElConfig;
import com.wsl.config.WslConfig;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

import java.io.IOException;

/**
 * @Author:WangShuliang
 * @Description:
 * @Date:Created in 11:22 2017/11/24
 * @Modified by:
 */
public class Main {
    public static void main(String[] args) throws IOException {
        AnnotationConfigApplicationContext context = new
                AnnotationConfigApplicationContext(WslConfig.class);
        ElConfig elConfig = context.getBean(ElConfig.class);

        elConfig.outputResource();

        context.close();
    }
}